import mitt from 'mitt';

type Events = {
  callHarvestAddress?: number;
  callRecordingModal: { text?: string; visible: boolean; key: 'voiceOrdering' | string };
  callAlarmNotification: void;
};

const eventBus = mitt<Events>();

export default eventBus;
